import axios from 'axios'
axios.defaults.baseURL = 'http://59.110.235.240:5000'

// 添加分类
export let addtype = params => axios.post('/goods/addcate', params)

// 获取分类
export let gettype = params => axios.get('/goods/catelist', { params })

// 修改分类
export let edittype = params => axios.post('/goods/editcate', params)

// 删除分类
export let deltype = params => axios.get('/goods/delcate', { params })

// 

